package com.woniuxy.aspectj;

import com.woniuxy.service.RbacManagerService;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Test {
    public static void main(String[] args) {
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("application.xml");
        RbacManagerService rbacManagerService = applicationContext.getBean("rbacManagerServiceImpl", RbacManagerService.class);
        rbacManagerService.addOne();
        rbacManagerService.findAll();
    }
}
